import mock from 'mockjs'
mock.mock('/api/sys/profile', 'post', function() {
  return {
    success: true,
    code: 10000,
    message: '操作成功！',
    data: {
      userId: '1066370498633486336',
      mobile: '13800000003',
      username: '小汪有点困',
      company: '传智播客',
      companyId: '1',
      roles: {
        apis: [],
        menus: [
          'settings',
          'social_securitys',
          'permissions',
          'approvals',
          'salarys',
          'departments',
          'employees',
          'attendances'
        ],
        points: ['2', 'point-dept']
      },
      authCacheKey: null
    }
  }
})
